package com.li.taskcenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @description: TaskCenter启动类
 * @author: Lidong
 * @time: 2020/6/20 14:01
 **/
@SpringBootApplication
@EnableScheduling
@EnableZuulProxy
@MapperScan("com.li.taskcenter.mapper.**.*")
@ComponentScan({"com.li.configserve","com.li.taskcenter"})
public class TaskCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(TaskCenterApplication.class);
    }
}
